﻿@model string
@{
	Layout = "~/Views/Shared/_LoginLayout.cshtml";
}
<div class="info">
	<img src="@Url.Content("~/Content/Images/ring.svg")" alt="Загрузка" />
	<p>Перенаправление на внешний ресурс</p>
</div>

@using (Html.BeginForm("ExternalLogin", "Account", FormMethod.Post, new { id = "form", style = "display: none;" }))
{
	@Html.AntiForgeryToken()
	<input type="text" name="provider" value="@Model" />
}
<script>
	setTimeout(function () {
		document.getElementById('form').submit();
	}, 200);
</script>
